<?php
/**
 * Created by PhpStorm.
 * User: xuke
 * Date: 16/6/29
 * Time: 下午3:23
 */

namespace App\Http\Model;


class UserAddress extends Base
{
    public $table = 'user_address';

    protected  $primaryKey = 'address_id';
    public $timestamps =false;

    public function User()
    {
        return $this->hasOne(User::class,'user_id', 'user_id');
    }
}